home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / ovals=misc.hex < prev    next >
Text File  |  1992-11-01  |  2KB  |  47 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 02 AA AA AA AA AA AA AA AA % fill pat
  10. 09 FF FF FF FF FF FF FF FF % pn pat
  11. 0A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13.  
  14. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  15. %
  16. %    Test miscellaneous aspects of ovals:
  17. %        Position one in a negative area partially off screen
  18. %        Place on so it's upper right corner is below it's lower left corner
  19. %        Like above, but only one side.
  20. %        Draw an elongated one off center of the area to confirm we aren't flipping
  21. %            any axes.
  22. %        Draw one with unusual penwidth and height settings
  23. %
  24. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  25.  
  26.  
  27. % paint a rectangle partially off screen
  28. 51 FFC0 FFC0 0030 0030
  29.  
  30. % Erase one with reversed coords
  31. 53 0060 0070   0040  0040
  32.  
  33. % Erase Another, but only put left to the right or right
  34. 53 0080 00A0  00C0 0080
  35.  
  36. % fill an elongated one off to the lower right
  37. 54 0070 00C0 00F0 00E0
  38.  
  39. % Now, Make the pen very rectangular (not square)  (very tall, not very wide)
  40. 07 0004 0014
  41.  
  42. % frame a different elongated one off to the bottom left
  43. 50 00C0 0020 00F8 00B0
  44.  
  45.  
  46. FF    % end
  47.